package com.albert.Request;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
public class ArrayReceiveController {
    @RequestMapping("/hobbies")
    public String array(String[] hobbies) {
        System.out.println(Arrays.toString(hobbies));
        return "OK";
    }
}
